<html>
<head>
    <style>
        table { background-color: lightblue; height: 100px; }
        td { width: 100px; height: 50px; }
        div#target { height: 25px; background-color: lightgreen; }
    </style>
    <script src="../resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            document.getElementById("target").style.width = "50px";
        }
    </script>
</head>
<body onload="runRepaintAndPixelTest()">
<table>
    <tr>
        <td>
            <div id="target"></div>
        </td>
    </tr>
</table>
</body>
</html>
